{include file="public/meat" title="会员基本设置"/}
<div class="cx-fex-c">
    <div class="x11 pad-t15 pad-b10">
        <div class="cx-fex-c">
            <div class="layout">
                {include file="config/head" /}
            </div>
        </div>
    </div>
    <div class="x11">
        <fieldset class="cx-field">
            <legend class="cx-field-legend">会员基本设置</legend>
            <form class="layui-form" role="form" action="" method="post">
                <div class="cx-fex-l mb-10">
                    <div class="x3 t-r"><label class="lab">用户注册是否审核 <span class="t-red">*</span> </label></div>
                    <div class="xs8 xl9">
                        <input name="webdb[user_status]" value="1" required {eq name="$webdb.user_status|default=''" value="1"}checked="checked"{/eq} type="radio" title="是">
                        <input name="webdb[user_status]" value="0" required {eq name="$webdb.user_status|default='0'" value="0"}checked="checked"{/eq} type="radio" title="否">
                    </div>
                </div>
                <div class="cx-fex-l mb-10">
                    <div class="x3 t-r"><label class="lab">三级分销 <span class="t-red">*</span> </label></div>
                    <div class="xs8 xl9">
                        <input name="webdb[spread_class]" value="0" required {eq name="$webdb.spread_class|default='0'" value="0"}checked="checked"{/eq} type="radio" title="不开启">
                        <input name="webdb[spread_class]" value="1" required {eq name="$webdb.spread_class|default=''" value="1"}checked="checked"{/eq} type="radio" title="二级分销">
                        <input name="webdb[spread_class]" value="2" required {eq name="$webdb.spread_class|default=''" value="2"}checked="checked"{/eq} type="radio" title="三级分销">
                    </div>
                </div>
                <div class="cx-fex-l mb-10">
                    <div class="x3 t-r"><label class="lab">注册是否启用短信验证 <span class="t-red">*</span> </label></div>
                    <div class="xs8 xl9">
                        <input name="webdb[smsyzm]" value="1" required {eq name="$webdb.smsyzm|default=''" value="1"}checked="checked"{/eq} type="radio" title="是">
                        <input name="webdb[smsyzm]" value="0" required {eq name="$webdb.smsyzm|default='0'" value="0"}checked="checked"{/eq} type="radio" title="否">
                    </div>
                </div>
                <div class="cx-fex-l mb-10">
                    <div class="x3 t-r"><label class="lab">{$webdb.moneyname|default='虚拟币'}名称 <span class="t-red">*</span> </label></div>
                    <div class="xs8 xl9">
                        <input type="text" name="webdb[moneyname]" required lay-verify="required" class="ipt" value="{$webdb.moneyname|default=''}">
                    </div>
                </div>
                <div class="cx-fex-l mb-10">
                    <div class="x3 t-r"><label class="lab">{$webdb.moneyname|default='虚拟币'}单位 <span class="t-red">*</span> </label></div>
                    <div class="xs8 xl9">
                        <input type="text" name="webdb[moneydw]" required lay-verify="required" class="ipt" value="{$webdb.moneydw|default=''}">
                    </div>
                </div>
                <div class="cx-fex-l mb-10">
                    <div class="x3 t-r"><label class="lab">会员注册赠送类型 <span class="t-red">*</span> </label></div>
                    <div class="xs8 xl9">
                        <div class="cx-input-tabel">
                            <input name="webdb[user_reg_moneyclass]" value="0" required {eq name="$webdb.user_reg_moneyclass|default=''" value="0"}checked="checked"{/eq} type="radio" title="人民币">
                            <input name="webdb[user_reg_moneyclass]" value="1" required {eq name="$webdb.user_reg_moneyclass|default='1'" value="1"}checked="checked"{/eq} type="radio" title="积分">
                            <input name="webdb[user_reg_moneyclass]" value="2" required {eq name="$webdb.user_reg_moneyclass|default=''" value="2"}checked="checked"{/eq} type="radio" title="{$webdb.moneyname|default='虚拟币'}">
                        </div>
                    </div>
                </div>
                <div class="cx-fex-l mb-10">
                    <div class="x3 t-r"><label class="lab">会员注册赠送 <span class="t-red">*</span> </label></div>
                    <div class="xs8 xl9">
                        <div class="cx-input-tabel">
                            <input name="webdb[user_reg_money]" class="ipt" required lay-verify="required" placeholder="默认值一般为空" value="{$webdb.user_reg_money|default=''}" type="text">
                            <span class="cx-input-fl">
                                {switch name="webdb.user_reg_moneyclass"}
                                    {case value="1"}积分{/case}
                                    {case value="2"}{$webdb.moneyname|default='虚拟币'}{/case}
                                    {default /}人民币
                                {/switch}
                            </span>
                        </div>
                    </div>
                </div>

                <div class="cx-fex-l mb-10">
                    <div class="x3 t-r"><label class="lab">1元兑换{$webdb.moneyname|default='虚拟币'} <span class="t-red">*</span> </label></div>
                    <div class="xs8 xl9">
                        <div class="cx-input-tabel">
                            <input name="webdb[user_rmb_money]" class="ipt" required lay-verify="required" value="{$webdb.user_rmb_money|default=''}" type="text">
                            <span class="cx-input-fl">{$webdb.moneyname|default='虚拟币'}</span>
                        </div>
                    </div>
                </div>
                <div class="cx-fex-l mb-10">
                    <div class="x3 t-r"><label class="lab">积分兑换{$webdb.moneyname|default='虚拟币'} <span class="t-red">*</span> </label></div>
                    <div class="xs8 xl9">
                        <div class="cx-input-tabel">
                            <input name="webdb[user_money_gold]" class="ipt" required lay-verify="required" value="{$webdb.user_money_gold|default=''}" type="text">
                            <span class="cx-input-fl">1 {$webdb.moneyname|default='虚拟币'}</span>
                        </div>
                    </div>
                </div>
                <div class="cx-fex-l mb-10">
                    <div class="x3 t-r"><label class="lab">用户签到 <span class="t-red">*</span> </label></div>
                    <div class="xs8 xl9">
                        <div class="cx-input-tabel">
                            <input name="webdb[user_login_gold]" class="ipt" required lay-verify="required" value="{$webdb.user_login_gold|default=''}" type="text">
                            <span class="cx-input-fl">积分</span>
                        </div>
                    </div>
                </div>
                <div class="cx-fex-l mb-10">
                    <div class="x3 t-r"><label class="lab">充值1元赠送 <span class="t-red">*</span> </label></div>
                    <div class="xs8 xl9">
                        <div class="cx-input-tabel">
                            <input name="webdb[user_rmb_gold]" class="ipt" required lay-verify="required" value="{$webdb.user_rmb_gold|default=''}" type="text">
                            <span class="cx-input-fl">积分</span>
                        </div>
                    </div>
                </div>

                <div class="cx-fex-l mb-10">
                    <div class="x3 t-r"><label class="lab">晒单赠送积分 <span class="t-red">*</span> </label></div>
                    <div class="xs8 xl9">
                        <div class="cx-input-tabel">
                            <input name="webdb[order_gold]" class="ipt" required lay-verify="required" value="{$webdb.order_gold|default=''}" type="text">
                            <span class="cx-input-fl">积分</span>
                        </div>
                    </div>
                </div>
                <div class="cx-fex-l mb-10">
                    <div class="x3 t-r"><label class="lab">会员推广赠送类型 <span class="t-red">*</span> </label></div>
                    <div class="xs8 xl9">
                        <div class="cx-input-tabel">
                            <input name="webdb[spread_money_class]" value="0" required {eq name="$webdb.spread_money_class|default=''" value="0"}checked="checked"{/eq} type="radio" title="人民币">
                            <input name="webdb[spread_money_class]" value="1" required {eq name="$webdb.spread_money_class|default='1'" value="1"}checked="checked"{/eq} type="radio" title="积分">
                            <input name="webdb[spread_money_class]" value="2" required {eq name="$webdb.spread_money_class|default=''" value="2"}checked="checked"{/eq} type="radio" title="{$webdb.moneyname|default='虚拟币'}">
                        </div>
                    </div>
                </div>
                <div class="cx-fex-l mb-10">
                    <div class="x3 t-r"><label class="lab">一级推广奖励 <span class="t-red">*</span> </label></div>
                    <div class="xs8 xl9">
                        <div class="cx-input-tabel">
                            <input name="webdb[user_spread]" class="ipt" required lay-verify="required" value="{$webdb.user_spread|default=''}" type="text">
                            <span class="cx-input-fl">
                                {switch name="webdb.spread_money_class"}
                                    {case value="1"}积分{/case}
                                    {case value="2"}{$webdb.moneyname|default='虚拟币'}{/case}
                                    {default /}人民币
                                {/switch}
                            </span>
                        </div>
                    </div>
                </div>
                <div class="cx-fex-l mb-10">
                    <div class="x3 t-r"><label class="lab">二级推广奖励 <span class="t-red">*</span> </label></div>
                    <div class="xs8 xl9">
                        <div class="cx-input-tabel">
                            <input name="webdb[user_spread_er]" class="ipt" required lay-verify="required" value="{$webdb.user_spread_er|default=''}" type="text">
                            <span class="cx-input-fl">
                                {switch name="webdb.spread_money_class"}
                                    {case value="1"}积分{/case}
                                    {case value="2"}{$webdb.moneyname|default='虚拟币'}{/case}
                                    {default /}人民币
                                {/switch}
                            </span>
                        </div>
                    </div>
                </div>
                <div class="cx-fex-l mb-10">
                    <div class="x3 t-r"><label class="lab">一级推广提成 <span class="t-red">*</span> </label></div>
                    <div class="xs8 xl9">
                        <div class="cx-input-tabel">
                            <input name="webdb[user_shop_gold]" class="ipt" required lay-verify="required" value="{$webdb.user_shop_gold|default=''}" type="text">
                            <span class="cx-input-fl">
                                {switch name="webdb.spread_money_class"}
                                    {case value="1"}积分{/case}
                                    {case value="2"}{$webdb.moneyname|default='虚拟币'}{/case}
                                    {default /}人民币
                                {/switch}
                            </span>
                        </div>
                    </div>
                </div>
                <div class="cx-fex-l mb-10">
                    <div class="x3 t-r"><label class="lab">二级推广奖励 <span class="t-red">*</span> </label></div>
                    <div class="xs8 xl9">
                        <div class="cx-input-tabel">
                            <input name="webdb[user_shop_ergold]" class="ipt" required lay-verify="required" value="{$webdb.user_shop_ergold|default=''}" type="text">
                            <span class="cx-input-fl">
                                {switch name="webdb.spread_money_class"}
                                    {case value="1"}积分{/case}
                                    {case value="2"}{$webdb.moneyname|default='虚拟币'}{/case}
                                    {default /}人民币
                                {/switch}
                            </span>
                        </div>
                    </div>
                </div>
                <div class="cx-fex-l mb-10 mt-20">
                    <div class="x3 t-r">
                        <label class="lab"></label>
                    </div>
                    <div class="xs8 xl9">
                        <button class="button bg-blue" lay-submit lay-filter="d-button">立即提交</button>
                    </div>
                </div>
            </form>
        </fieldset>
    </div>
</div>
<div style="height: 20px; overflow: hidden"></div>
{include file="public/js" /}
<script>
    layui.config({
        base: '__ADMIN__/js/'
    }).use('app');
</script>
{include file="public/footer" /}